package cn.bdqn.wen.dao;

import cn.bdqn.wen.pojo.Categroy;
import cn.bdqn.wen.pojo.Detail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DetailMapper {
    List<Detail>  selectDetail(@Param("categroyId") int categroyId,@Param("title") String title);
    List<Categroy> selectCategroy();
    List<Detail> selectId(@Param("id") int id);
    int updateDetail(Detail detail);
}
